/*2S7LXljdWdGhrCxZ1MFl4nbo76lbmNV/zj9vAsZ4TsJjt35I/W4VBwuu/33I9fcb*/
import { base, getMultiLang } from 'nc-lightapp-front';
import Referloader from '../../../public/ReferLoader';
import { searchBtnClick, buttonClick, advSearchClearEve,afterEvent } from './events';
import Comconditions from '../comcondition';
import './index.less';
const { NCDatePicker, NCSelect } = base;
const { NCRangePicker } = NCDatePicker;
const format3 = 'YYYY-MM-DD';

export default function SearchContions(that, NCOptions, createButtonApp, NCCreateSearch, searchId) {
	return (
		// <div className="search-contions nc-theme-gray-area-bgc">
		// heigh-search
						<div className="nc-bill-search-area">
							{NCCreateSearch(
								searchId, //模块id
								{
									//isSynInitAdvSearch: true,
									clickSearchBtn: searchBtnClick.bind(that, that), //   点击按钮事件
									showAdvBtn: true, //  显示高级按钮
									//addAdvBody: addAdvBody.bind(that, that), // 添加高级查询区自定义查询条件Dom (fun) , return Dom
									//oid: that.props.meta.oid, //查询模板的oid，用于查询查询方案
									//onlyShowSuperBtn: true, // 只显示高级按钮
									//replaceSuperBtn: that.state.json['verificationsheet-000024'] /* 国际化处理： 高级*/,
									//advSearchClearEve: advSearchClearEve.bind(that, that)
									onAfterEvent: afterEvent.bind(that,that), //编辑后事件
							        //renderCompleteEvent: this.renderCompleteEvent // 查询区渲染完成回调函数
								}
							)}
						</div>
					
		// </div>
	);
}

/*2S7LXljdWdGhrCxZ1MFl4nbo76lbmNV/zj9vAsZ4TsJjt35I/W4VBwuu/33I9fcb*/